package com.yeren.weixin.gzh.weixin.config;

import java.util.Properties;

public class WeixinConfig {
	Properties prop = PropertiesUtil.loadFile("config.properties");
	private String weixin_appId = prop.getProperty("weixin.appId");
	private String weixin_appSecret = prop.getProperty("weixin.appSecret");
	private String weixin_token = prop.getProperty("weixin.token");
	private String weixin_EncodingAESKey = prop.getProperty("weixin.EncodingAESKey");
	private String weixin_core_redirect_uri = prop.getProperty("weixn.core.redirect_uri");
	private String weixin_oauth_redirect_uri = prop.getProperty("weixin.oauth.redirect_uri");
	private String weixin_weixinJs_redirect_uri = prop.getProperty("weixn.weixinJs.redirect_uri");
	private String weixin_openId = prop.getProperty("weixin.openId");

	public String getWeixin_openId() {
		return weixin_openId;
	}


	public void setWeixin_openId(String weixin_openId) {
		this.weixin_openId = weixin_openId;
	}


	public String getWeixin_appId() {
		return weixin_appId;
	}


	public void setWeixin_appId(String weixin_appId) {
		this.weixin_appId = weixin_appId;
	}


	public String getWeixin_appSecret() {
		return weixin_appSecret;
	}


	public void setWeixin_appSecret(String weixin_appSecret) {
		this.weixin_appSecret = weixin_appSecret;
	}


	public String getWeixin_core_redirect_uri() {
		return weixin_core_redirect_uri;
	}


	public void setWeixin_core_redirect_uri(String weixin_core_redirect_uri) {
		this.weixin_core_redirect_uri = weixin_core_redirect_uri;
	}


	public String getWeixin_oauth_redirect_uri() {
		return weixin_oauth_redirect_uri;
	}


	public void setWeixin_oauth_redirect_uri(String weixin_oauth_redirect_uri) {
		this.weixin_oauth_redirect_uri = weixin_oauth_redirect_uri;
	}


	public String getWeixin_weixinJs_redirect_uri() {
		return weixin_weixinJs_redirect_uri;
	}


	public void setWeixin_weixinJs_redirect_uri(String weixin_weixinJs_redirect_uri) {
		this.weixin_weixinJs_redirect_uri = weixin_weixinJs_redirect_uri;
	}


	public String getWeixin_token() {
		return weixin_token;
	}


	public void setWeixin_token(String weixin_token) {
		this.weixin_token = weixin_token;
	}


	public String getWeixin_EncodingAESKey() {
		return weixin_EncodingAESKey;
	}


	public void setWeixin_EncodingAESKey(String weixin_EncodingAESKey) {
		this.weixin_EncodingAESKey = weixin_EncodingAESKey;
	}


	public static void main(String[] args) {
		WeixinConfig wc = new WeixinConfig();
		String weixin_appId2 = wc.getWeixin_appId();
		String weixin_appSecret2 = wc.getWeixin_appSecret();
		String weixin_core_redirect_uri2 = wc.getWeixin_core_redirect_uri();
		String weixin_oauth_redirect_uri2 = wc.getWeixin_oauth_redirect_uri();
		String weixin_weixinJs_redirect_uri2 = wc.getWeixin_weixinJs_redirect_uri();
		String weixin_openId2 = wc.getWeixin_openId();
		String weixin_token2 = wc.getWeixin_token();
		String weixin_EncodingAESKey2 = wc.getWeixin_EncodingAESKey();
		System.out.println(weixin_appId2);
		System.out.println(weixin_appSecret2);
		System.out.println(weixin_core_redirect_uri2);
		System.out.println(weixin_oauth_redirect_uri2);
		System.out.println(weixin_weixinJs_redirect_uri2);
		System.out.println(weixin_openId2);
		System.out.println(weixin_token2);
		System.out.println(weixin_EncodingAESKey2);
	}

}
